package com.vdong;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

//@EnableDiscoveryClient // 激活eureka中的DiscoveryClient实
@SpringBootApplication
@EnableAsync
@EnableCaching
@EnableFeignClients("com.vdong.ai") // 扫描feiclient
public class AiServiceApplication {

    public static void main(String[] args) {

        SpringApplication.run(AiServiceApplication.class, args);

    }

}
